package com.pioneer.web.train.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pioneer.web.train.domain.TrainNews;
import com.pioneer.web.train.mapper.TrainNewsMapper;
import com.pioneer.web.train.service.ITrainNewsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Title:NewsServiceImpl
 * Description:
 *
 * @Author 罗熠轩
 * @Date 26/2/2025 PM2:10
 * @Version 1.0
 **/
@Service
public class TrainNewsServiceImpl extends ServiceImpl<TrainNewsMapper , TrainNews> implements ITrainNewsService{

    @Override
    public List<TrainNews> selectList(TrainNews news) {
        return getBaseMapper().selectNewsList(news);
    }
}
